package com.yixia.system.mapper.system;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yixia.common.core.domain.entity.SysDictType;
import org.apache.ibatis.annotations.Mapper;

/**
* @author 35038
* @description 针对表【sys_dict_type(字典类型表)】的数据库操作Mapper
* @createDate 2023-07-18 10:36:39
* @Entity com.java1234.entity.SysDictType
*/
@Mapper
public interface SysDictTypeMapper extends BaseMapper<SysDictType> {

    /**
     * 通过字典ID删除字典信息
     * @param dictId
     */
    default Integer deleteDictTypeById(Long dictId){
        int row = this.deleteById(dictId);
        return row;
    }
}




